﻿@model BlackBird.Models.MessagePopupDM

<div id = "message_popup_body">
    @foreach (var messageItem in Model.AllMessageItem) { 
        <div class = "messageItem">
            <h5>@messageItem.Title</h5>
            @foreach(var item in messageItem.Items){
                <div>
                @Html.ActionLink(item.Name, MVC.Project.ActionNames.ItemDetailView, MVC.Project.Name, new { type = item.type, Id = item.Id }, new { target = "_self" })                          
                </div>
            }
        </div>
    }
</div>